.class Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;
.super Ljava/lang/Object;
.source "ElementWorkspaceControlBtn.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ElementWorkspaceControlBtn;->undockLRApps()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter

    .prologue
    .line 1082
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 10
    .parameter "object"

    .prologue
    const/4 v9, 0x1

    const/4 v8, 0x0

    const/high16 v7, 0x4000

    .line 1085
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v4

    iget-object v5, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v5

    invoke-virtual {v5, v8}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v5

    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v6

    div-float/2addr v6, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v1

    .line 1087
    .local v1, left:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v4

    iget-object v5, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v5

    invoke-virtual {v5, v9}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v5

    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nemustech/tiffany/world/TFPanel;->getHeight()F

    move-result v6

    div-float/2addr v6, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v3

    .line 1089
    .local v3, top:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v4

    iget-object v5, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v5

    invoke-virtual {v5, v8}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v5

    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v6

    div-float/2addr v6, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v2

    .line 1091
    .local v2, right:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v4

    iget-object v5, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v5

    invoke-virtual {v5, v9}, Lcom/nemustech/tiffany/world/TFPanel;->getLocation(I)F

    move-result v5

    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nemustech/tiffany/world/TFPanel;->getHeight()F

    move-result v6

    div-float/2addr v6, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v0

    .line 1094
    .local v0, bottom:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$900(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/graphics/Rect;

    move-result-object v4

    invoke-virtual {v4, v1, v3, v2, v0}, Landroid/graphics/Rect;->set(IIII)V

    .line 1095
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v4

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1096
    return-void
.end method
